﻿#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"
void test1()
{
	LTNode* plist = LTInit();
	LTPrint(plist);
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);

	LTPrint(plist);
	LTPushFront(plist, 100);
	LTPushFront(plist, 200);
	LTPrint(plist);
	LTPopBack(plist);
	LTPrint(plist);
	LTPopFront(plist);
	LTPrint(plist);
	//LTInsert(LֵTFind(plist,200), 6);
	//LTPrint(plist);
	//LTErase(LֵTFind(plist, 200));
	//LTPrint(plist); 
	LTErase(LֵTFind(plist, 1));
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;


}
int main()
{
	test1();

	return 0;
}